<?php
/*
 * @Author: CHINAKAIYUAN<sunkaiyuan@namenode.cn>
 * @Date: 2022-02-02 19:42:06
 * @LastEditTime: 2023-07-31 17:10:14
 * @LastEditors: 孙开源 && sunkaiyuan@namenode.cn
 * @Description: 
 */

namespace App\Repositories;

use App\Models\PurchaseOrderDetails;

class PurchaseOrderDetailsRepository extends Repositories
    {
    protected $relation_models = ['material' => ['category'], 'company', 'status', 'unit', 'ounit', 'main' => ['attachments', 'extra_cost_details'], 'location', 'creator', 'department'];
    public function boot(PurchaseOrderDetails $model)
        {
        $this->model = $model;
        }
    }